mbta / ueberauth_cognito

Ueberauth strategy for AWS Cognito
MIT License
4 stars 8 forks source link

Scope can be configured #55

Closed lauriannala closed 2 years ago

lauriannala commented 2 years ago

Configuration example:

config :ueberauth, Ueberauth.Strategy.Cognito,
  scope: "openid profile email custom_scope another_custom_scope"
lauriannala commented 2 years ago

ping @losvedir for your review :)

github-actions[bot] commented 2 years ago

Coverage of commit 28c9560

Summary coverage rate:
  lines......: 100.0% (79 of 79 lines)
  functions..: 91.3% (21 of 23 functions)
  branches...: no data found

Files changed coverage rate:
                                                |Lines       |Functions  |Branches    
  Filename                                      |Rate     Num|Rate    Num|Rate     Num
  ====================================================================================
  lib/ueberauth/strategy/cognito.ex             | 100%     58|93.8%    16|    -      0
  lib/ueberauth/strategy/cognito/config.ex      | 100%     11|75.0%     4|    -      0

Download coverage report

github-actions[bot] commented 2 years ago

Coverage of commit f58c0ae

Summary coverage rate:
  lines......: 100.0% (78 of 78 lines)
  functions..: 91.3% (21 of 23 functions)
  branches...: no data found

Files changed coverage rate:
                                                |Lines       |Functions  |Branches    
  Filename                                      |Rate     Num|Rate    Num|Rate     Num
  ====================================================================================
  lib/ueberauth/strategy/cognito.ex             | 100%     59|93.8%    16|    -      0
  lib/ueberauth/strategy/cognito/config.ex      | 100%      9|75.0%     4|    -      0

Download coverage report