web icon indicating copy to clipboard operation
web copied to clipboard

[tests-only][full-ci]getting ocis keycloak token using auth code flow

Open S-Panta opened this issue 5 months ago • 3 comments

Description

This PR adds the code for getting access token for ocis user when keycloak is used as IDP. This is done so that login step can be shifted after all API task is performed. The grant type for getting access token is Authorization Code Grant Type

Related Issue

  • Fixes https://github.com/owncloud/web/issues/11307

How Has This Been Tested?

  • test environment:
  • locally and CI

Screenshots (if appropriate):

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Technical debt
  • [x] Tests
  • [ ] Documentation
  • [ ] Maintenance (e.g. dependency updates or tooling)

S-Panta avatar Sep 23 '24 11:09 S-Panta