Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] for other grant types in custom provider #148

Open
thd-fox opened this issue Jan 5, 2021 · 0 comments
Open

[Feature Request] for other grant types in custom provider #148

thd-fox opened this issue Jan 5, 2021 · 0 comments

Comments

@thd-fox
Copy link

thd-fox commented Jan 5, 2021

This is a feature request for password grant type.
We use our own Oauth2 server to provide login for our customers.
The only thing to do would be to pass the user credentials from here:
tnsOauthLogin("customProvider");
as Basic Auth header or body parameter.

Header Parameter:

Authorization: Basic ab2876sfdfposdb67fspdfb7pdsf87npsdof7npof7ndsöof87nsdoöf7nsdöof7nsdo

Body Parameter:

grant_type: "password"
username: "xxx"
password: "xxx"
scope: "basic"
client_id: "saöklfdgasökgfdasökgfhöaskhgfasökfasödih"
client_secret: "aslkjfbaskjfbaskjdfasldfhsdlkjfhsdökfhsdökfh"

This way an app could be using it's own login form built as full {N} view and no website must be loaded.

I really hope there is a way to get this feature added here :)

Love your Videos on YouTube ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant