Skip to content

Override genAccessToken()  #99

Open
@ajax13

Description

@ajax13

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!

Activity

cored0wn

cored0wn commented on Feb 9, 2018

@cored0wn

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

linked a pull request that will close this issue on Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Participants

    @ajax13@cored0wn

    Issue actions

      Override genAccessToken() · Issue #99 · FriendsOfSymfony/oauth2-php