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

Override genAccessToken() #99

Open
ajax13 opened this issue May 24, 2017 · 1 comment · May be fixed by #114
Open

Override genAccessToken() #99

ajax13 opened this issue May 24, 2017 · 1 comment · May be fixed by #114

Comments

@ajax13
Copy link

ajax13 commented May 24, 2017

I want to use the JWT token instead of the current solution to generate the Token(random).
Since @iamluc's PR #94 hasn't been accepted yet, I'm opting for this solution witch I think isn't the best way, so I need your feedbacks :

- Use the compiler pass to override the 'fos_oauth_server.server' service to point Class to my custom class that inherits from 'OAuth2'. 
- Override the 'protected function genAccessToken()' to use the JWT token service for the generation.

Any other solutions are welcome!

@cored0wn
Copy link

cored0wn commented Feb 9, 2018

I've reviewed this PR and it would be very useful for me because i have to implement the openid connect core specification.

@YaoOcelotl YaoOcelotl linked a pull request Mar 22, 2019 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants