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

how to change access_token_expires_in time #49

Closed
upender-gleecus opened this issue Apr 4, 2019 · 2 comments
Closed

how to change access_token_expires_in time #49

upender-gleecus opened this issue Apr 4, 2019 · 2 comments

Comments

@upender-gleecus
Copy link

Hi I want to change the default expires_in for access_token now its: 7200.
I tried with below configuration but not working.
Can you please help me to fix this.

config :phoenix_oauth2_provider, PhoenixOauth2Provider,
  module: Myapp,
  repo: Myapp.Repo,
  grant_flows: ~w(client_credentials),
  resource_owner: Myapp.Coherence.User,  
  access_token_expires_in: 14400
@upender-gleecus upender-gleecus changed the title changing access_token_expires_in time how to change access_token_expires_in time Apr 4, 2019
@upender-gleecus
Copy link
Author

It's working fine. actually its my mistake I didn't restarted server after changing configuration and tested in postman.

@danschultzer
Copy link
Owner

Oh thanks! Sorry I didn't get back to this sooner, but I had difficulty figuring out what went wrong and got distracted.

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

2 participants