Closed IlianSchokkaert closed 9 years ago
The GNAP jwt token issuer sets the default api path to /tokens. The client side token.resource uses the path /api/tokens resulting in a post error.
Since the issuer path can be changed server side via the properties => settings menu, it should also be configurable client side
Server side GNaP.Owin.Authentication.Jwt/src/GNaP.Owin.Authentication.Jwt/JwtTokenIssuerOptions.cs
public class JwtTokenIssuerOptions { private const string DefaultIssuerPath = "/tokens";
Client side themes-gnap/custom/gnap-angular/js/develop/gnap/token.resource.js
function Token($resource) { return $resource('/api/tokens'); }
Duplicate of https://github.com/infrabel/themes-gnap/issues/92
The GNAP jwt token issuer sets the default api path to /tokens. The client side token.resource uses the path /api/tokens resulting in a post error.
Since the issuer path can be changed server side via the properties => settings menu, it should also be configurable client side
Server side GNaP.Owin.Authentication.Jwt/src/GNaP.Owin.Authentication.Jwt/JwtTokenIssuerOptions.cs
Client side themes-gnap/custom/gnap-angular/js/develop/gnap/token.resource.js